toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (idToken != null) 'idToken': idToken!,
      if (phoneAuthInfo != null) 'phoneAuthInfo': phoneAuthInfo!,
      if (refreshToken != null) 'refreshToken': refreshToken!,
    };