toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!,
      if (modelId != null) 'modelId': modelId!,
      if (parentModel != null) 'parentModel': parentModel!,
      if (sourceModel != null) 'sourceModel': sourceModel!,
    };