toJson method

Map<String, dynamic> toJson()

Implementation

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