toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (diskType != null) 'diskType': diskType!,
      if (readOnly != null) 'readOnly': readOnly!,
      if (sourceImage != null) 'sourceImage': sourceImage!,
      if (sourceSnapshot != null) 'sourceSnapshot': sourceSnapshot!,
    };