toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final size = this.size;
  final type = this.type;
  return {'size': ?size, 'type': ?type};
}