Schema.fromJson constructor

Schema.fromJson(
  1. Map<String, dynamic> json
)

Parse schema from decoded json

Implementation

factory Schema.fromJson(Map<String, dynamic> json) {
  return Schema(type: AvroType.fromJson(json));
}