data method

  1. @override
Map<String, Object?> data()
override

Representação serializável (sem o type, que é injetado por toJson).

Implementation

@override
Map<String, Object?> data() => {
  'url': url,
  'caption': caption,
  'credit': credit,
  'alt': alt,
};