DevCredentials.fromJson constructor

DevCredentials.fromJson(
  1. Map<String, dynamic> parsed
)

Implementation

factory DevCredentials.fromJson(Map<String, dynamic> parsed) {
  return DevCredentials(
      endpoint: parsed['endpoint'],
      token: parsed['token'],
      userId: parsed['user_id']);
}