toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'bytes': bytes,
      'width': width,
      'height': height,
      if (blurhash != null) 'blurhash': blurhash,
      if (originalHeight != null) 'originalHeight': originalHeight,
      if (originalWidth != null) 'originalWidth': originalWidth,
    };