toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'uri'] = this.uri;
    json[r'secret'] = this.secret;
    json[r'enabled'] = this.enabled;
    json[r'created'] = this.created.toUtc().toIso8601String();
    json[r'updated'] = this.updated.toUtc().toIso8601String();
  return json;
}