SchemaReference.fromJson constructor

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

Implementation

factory SchemaReference.fromJson(Map<String, dynamic> json) {
  return SchemaReference(
    schemaId: json['SchemaId'] != null
        ? SchemaId.fromJson(json['SchemaId'] as Map<String, dynamic>)
        : null,
    schemaVersionId: json['SchemaVersionId'] as String?,
    schemaVersionNumber: json['SchemaVersionNumber'] as int?,
  );
}