AccountDashboardSettings.fromJson constructor

AccountDashboardSettings.fromJson(
  1. Object? json
)

Implementation

factory AccountDashboardSettings.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return AccountDashboardSettings(
    displayName:
        map['display_name'] == null ? null : (map['display_name'] as String),
    timezone: map['timezone'] == null ? null : (map['timezone'] as String),
  );
}