factory TestEventPatternResponse.fromJson(Map<String, dynamic> json) { return TestEventPatternResponse( result: json['Result'] as bool?, ); }