MatchmakingRuleSet.fromJson constructor

MatchmakingRuleSet.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory MatchmakingRuleSet.fromJson(Map<String, dynamic> json) {
  return MatchmakingRuleSet(
    ruleSetBody: json['RuleSetBody'] as String,
    creationTime: timeStampFromJson(json['CreationTime']),
    ruleSetArn: json['RuleSetArn'] as String?,
    ruleSetName: json['RuleSetName'] as String?,
  );
}