GoogleRefreshToken.fromJson constructor

GoogleRefreshToken.fromJson(
  1. Map<String, dynamic> jsonSerialization
)

Implementation

factory GoogleRefreshToken.fromJson(Map<String, dynamic> jsonSerialization) {
  return GoogleRefreshToken(
    id: jsonSerialization['id'] as int?,
    userId: jsonSerialization['userId'] as int,
    refreshToken: jsonSerialization['refreshToken'] as String,
  );
}