JsonPathApiConfiguration class final
- Inheritance
-
- Object
- ApiConfiguration<
List< Card> > - JsonPathApiConfiguration
- Annotations
-
- @JsonSerializable()
Constructors
-
JsonPathApiConfiguration({String? title, String url = '', Map<
String, String> ? headers, List<(String, String)> ? requestBody, JSONPath rootField = const JSONPath(r'$'), DisplayFieldMap? fieldMap}) -
JsonPathApiConfiguration.fromJson(Map<
String, dynamic> json) -
factory
Properties
- fieldMap → DisplayFieldMap?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> ? -
final
-
requestBody
→ List<
(String, String)> ? -
final
- rootField → JSONPath
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaType → String
-
The schema type of the content item.
finalinherited
- title → String?
-
finalinherited
- url → String
-
final
Methods
-
build(
BuildContext context, List< Card> ? data) → Widget -
override
-
invoke(
BuildContext context) → Future< List< Card> ?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
typeDescriptor
→ TypeDescriptor<
JsonPathApiConfiguration> -
final
Constants
- schemaName → const String