toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (endpoints != null) 'endpoints': endpoints!,
      if (name != null) 'name': name!,
      if (uid != null) 'uid': uid!,
    };