CelmReferenceRef.fromJson constructor

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

Implementation

factory CelmReferenceRef.fromJson(Map<String, dynamic> json) =>
    CelmReferenceRef(
      id: _requireString(json, 'CelmReferenceRef', 'id'),
      field: _requireString(json, 'CelmReferenceRef', 'field'),
      expected: (json['expected'] as Map<String, dynamic>?) ?? const {},
    );