toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.access != null) {
    json[r'access'] = this.access;
  } else {
    json[r'access'] = null;
  }
  if (this.plan != null) {
    json[r'plan'] = this.plan;
  } else {
    json[r'plan'] = null;
  }
  return json;
}