toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (deprecationInfo != null) 'deprecationInfo': deprecationInfo!,
      if (displayName != null) 'displayName': displayName!,
      if (documentSchema != null) 'documentSchema': documentSchema!,
      if (googleManaged != null) 'googleManaged': googleManaged!,
      if (kmsKeyName != null) 'kmsKeyName': kmsKeyName!,
      if (kmsKeyVersionName != null) 'kmsKeyVersionName': kmsKeyVersionName!,
      if (latestEvaluation != null) 'latestEvaluation': latestEvaluation!,
      if (modelType != null) 'modelType': modelType!,
      if (name != null) 'name': name!,
      if (state != null) 'state': state!,
    };