toJson method

Map<String, dynamic> toJson()

Implementation

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