toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'action'] = action;
  json[r'resource'] = resource;
  return json;
}