StateReason.fromJson constructor

StateReason.fromJson(
  1. Map json_
)

Implementation

StateReason.fromJson(core.Map json_)
    : this(
        code: json_.containsKey('code') ? json_['code'] as core.String : null,
        message: json_.containsKey('message')
            ? json_['message'] as core.String
            : null,
        userDetails: json_.containsKey('userDetails')
            ? json_['userDetails'] as core.String
            : null,
      );