fromJson static method

ArrowDataType fromJson(
  1. Map<String, Object?> json
)

Implementation

static ArrowDataType fromJson(Map<String, Object?> json) {
  try {
    return _fromJson(json);
  } on FormatException {
    rethrow;
  } on ArgumentError catch (error) {
    throw FormatException('Invalid Arrow datatype: $error');
  } on TypeError catch (error) {
    throw FormatException('Invalid Arrow datatype shape: $error');
  }
}