HeaderConfig.fromJson constructor

HeaderConfig.fromJson(
  1. Json j
)

Parses the wire shape.

Implementation

factory HeaderConfig.fromJson(Json j) => HeaderConfig(
  subtitle: stringMapOf(j, 'subtitle'),
  logoUrl: str(j, 'logo_url'),
  profile: HeaderProfile.parse(str(j, 'profile')),
);