decode static method
Implementation
static NavigationBackButton? decode(dynamic json) {
if (json == null) {
return null;
}
if (json is! Map<String, dynamic>) {
return null;
}
return NavigationBackButton(
title: StringDecoder.decode(json['title']),
color: Color.decode(json['color']),
visible: BooleanDecoder.decode(json['visible']),
);
}