GetAppIdResult.fromJson constructor

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

Implementation

factory GetAppIdResult.fromJson(Map<String, dynamic> json) {
  return GetAppIdResult(
    appId: json.containsKey('appId') ? json['appId'] as String : null,
    recommendedId:
        json.containsKey('recommendedId')
            ? json['recommendedId'] as String
            : null,
  );
}