Int64Array.fromJson constructor
Int64Array.fromJson(
- Object? j
Implementation
factory Int64Array.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return Int64Array(
values: switch (json['values']) {
null => [],
List<Object?> $1 => [for (final i in $1) decodeInt64(i)],
_ => throw const FormatException('"values" is not a list'),
},
);
}