toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (imageUrl != null) 'imageUrl': imageUrl!,
      if (status != null) 'status': status!,
      if (type != null) 'type': type!,
    };