toJson method

Map<String, dynamic> toJson()

Implementation

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