serialize method

  1. @override
dynamic serialize()
override

Implementation

@override
dynamic serialize() => {
      'type': 'lazy',
      'id': id,
      'format': format,
    };